#ifndef TRANSPARENTBUTTON_H
#define TRANSPARENTBUTTON_H

#include <QObject>
#include <QPushButton>
#include"touchbutton.h"

class TransparentButton : public TouchButton {
    Q_OBJECT
public:
    TransparentButton(QWidget* parent = nullptr);
    explicit TransparentButton(const QString &text, QWidget *parent = nullptr);
protected:
    void mousePressEvent(QMouseEvent* event) override ;

    void mouseReleaseEvent(QMouseEvent* event) override;

    void mouseDoubleClickEvent(QMouseEvent* event) override;
};
#endif // TRANSPARENTBUTTON_H
